<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Login</title>
</head>
<body>

<h1>Login</h1>
<hr>

<div>
    <p th:text="${msg}" style="color: red"></p>
    <form th:action="@{/login}">
        <p>username：<input type="text" name="username"></p>
        <p>password：<input type="password" name="password"></p>
        <p><input type="submit"></p>
    </form>
</div>


</body>
</html>